/*
 * EqualIntruction.h
 *
 *  Created on: 18/nov/2010
 *      Author: computer
 */

#ifndef EQUALINTRUCTION_H_
#define EQUALINTRUCTION_H_
#include "Expression.h"
#include "FlowExpression.h"

namespace TreeExpression {

class EqualInstruction : public FlowExpression, public Expression_CRTP<EqualInstruction> {
public:
	EqualInstruction();
	EqualInstruction(const EqualInstruction&);
	~EqualInstruction();

	virtual AutoPointer<Expression> eval(CopyPointer<Context>&);
	virtual std::string toString() const;
private:
	std::string name;
};

}

#endif /* EQUALINTRUCTION_H_ */
